Q3File_Cancel
You can use theQ3File_Cancel
function to cancel a file object.
TQ3Status Q3File_Cancel (TQ3FileObject file);
file
- A file object.
DESCRIPTION
TheQ3File_Cancel
function removes from memory any data associated with the file object specified by thefile
parameter and disposes of the file object itself. You should callQ3File_Cancel
when some fatal error occurs in your application or simply when you're finished using a file object. Once the file object has been canceled, you can no longer read data from it or write data to it. In all likelihood, the file object is corrupt after you call theQ3File_Cancel
function.ERRORS
kQ3ErrorInvalidObjectParameter
kQ3ErrorOSError